package kr.hkit.powerjava.chapter08.work;

public class BankAccountPTest {
	public static void main(String[] args) {
		BankAccountP b1 = new BankAccountP("홍길동", 001, 1500);
		System.out.println(b1);
		BankAccountP b2 = new BankAccountP("임꺽정", 002, 100);
		System.out.println(b2);
		
		b1.transfer(500, b2);
		
		System.out.println(b1);
	}	
}
